#pragma once
#include <cppunit/extensions/HelperMacros.h>
#include "DesignExtractor.h"

class TestDesignExtractor : public CPPUNIT_NS::TestFixture {
	CPPUNIT_TEST_SUITE(TestDesignExtractor);
	CPPUNIT_TEST(testCreateModifiesTable);
	CPPUNIT_TEST(testCreateUsesTable); 
	CPPUNIT_TEST_SUITE_END();
private:
	static const int NNODES = 21;
	AST programAST;
	Node *n[NNODES];
public:
	void setUp();
	void tearDown();

	void testCreateModifiesTable();
	void testCreateUsesTable();
};
